home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Science / RLaB / help / tic < prev    next >
Text File  |  1994-04-25  |  352b  |  21 lines

  1. tic:
  2.  
  3. Syntax:    tic ( )
  4.  
  5. Description:
  6.  
  7.     Tic internally marks the time at which it was invoked. To
  8.     measure elapsed time, use tic() in conjunction with toc().
  9.  
  10.     Example:
  11.  
  12.     tic();
  13.     a = rand(100,100);
  14.     eig(a);
  15.     toc()
  16.  
  17.     The above would measure the time spent generating the 100x100
  18.     random matrix, and calculating the eigenvectors and values.
  19.  
  20. See Also: toc
  21.